import junit.framework.Assert;
import org.junit.Test;
import someclass.*;


public class testReserveBook {
    @Test
    public void show_prompt_message(){
        reserveBook doreserve = new reserveBook();
        Assert.assertEquals("Please input the book number you want to reserve", doreserve.showPromptMessage());
    }
    @Test
    public void show_message_when_reserve_success(){
        reserveBook reserveSuccess = new reserveBook();
        Assert.assertEquals("Thank You! Enjoy the book.",reserveSuccess.doreserve(1));
    }
    @Test
    public void show_message_when_reserve_fail(){
        reserveBook reserveFail = new reserveBook();
        Assert.assertEquals("Sorry we don't have that book yet.",reserveFail.doreserve(2));
    }
}
